package model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.List;

import lombok.Data;

@Data
@TableName(value = "class_info")
public class ClassInfo implements Serializable {
    @TableId(value = "class_id", type = IdType.AUTO)
    private Integer classId;

    @TableField(value = "class_name")
    private String className;

    @TableField(value = "class_grade")

    private List<StuInfo> stuInfoList;

    private String classGrade;

    private static final long serialVersionUID = 1L;

    public static final String COL_CLASS_ID = "class_id";

    public static final String COL_CLASS_NAME = "class_name";

    public static final String COL_CLASS_GRADE = "class_grade";
}